package com.market.service.admin;

import com.market.bean.MarketTopic;
import com.market.bean.common.BasePageInfo;
import com.market.bean.common.CommonData;
import com.market.bean.vo.admin.AdminTopicReadVo;

import java.util.List;

public interface AdminTopicService {
    CommonData<MarketTopic> list(BasePageInfo info, String title, String subtitle);

    MarketTopic create(MarketTopic marketTopic);

    AdminTopicReadVo read(Integer id);

    MarketTopic update(MarketTopic marketTopic);

    void delete(MarketTopic marketTopic);

    void batchDelete(List<Integer> ids);
}
